const Sequelize = require("sequelize")

// 引入配置文件
const { db } = require("../config")

// 创建实例
const seq = new Sequelize(
  db.database,
  db.username,
  db.password,
  { ...db }
)

module.exports = seq
